function loadAlbumCuaToi()
{
	xmlhttp = new XMLHttpRequest();
	xmlhttp.onreadystatechange=function()
	{
		if(xmlhttp.readyState==4 && xmlhttp.status==200)
		{
			$("#khoalbum").append(xmlhttp.responseText);
			$("head").append("<script type='text/javascript' src='js template/fotorama.js'></script>");
		}
	}
	xmlhttp.open("GET","php sources/kho anh/GetAlbumCuaToi.php?offset="+offset,true);
	xmlhttp.send();
	offset+=6;
}
$(document).ready(function(){$("#xemthemcuatoi").click( function()
{
	loadAlbumCuaToi();
});
});
$( document ).ready(function() {
	loadAlbumCuaToi();
});
